# 本地开发数据库设置
# USE FOLLOWING SQL TO CREATE THE DATABASE NAMED APP_CODE
# SQL: CREATE DATABASE `{{ app_code }}` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; # noqa: E501
import pymysql

pymysql.install_as_MySQLdb()

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.mysql",
        "NAME": "bb-after",  # noqa
        "USER": "root",
        "PASSWORD": "211L525b632h@",
        "HOST": "localhost",
        "PORT": "3306",
        "TEST": {
            "CHARSET": "utf8",
            "COLLATION": "utf8_general_ci"
        }
    },
}
